<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="publicStyle/css/bootstrap.css">
<title>Insert title here</title>
</head>
<body>
<center>
<h1>我${param.cname}的平均得分：${avg }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;评价：${grade }</h1>
<hr>
<table class="table table-striped table-bordered table-hover table-condensed" >
	${no}
	<c:forEach begin="0" end="${fn:length(listeva)-1}" step="1" var="i">
	<c:if test="${!empty listeva[i].ecomment }">
	<tr><fmt:formatDate value="${listeva[i].edate}" pattern="yyyy年MM月dd日       HH:mm:ss"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xxx同学说：</tr><br>
	<br>
	<tr>${listeva[i].ecomment}</tr>	
	<br>
	<br>
	<hr>
	</c:if>
	</c:forEach>
	</table>
	</center>
</body>
</html>